﻿using System;
namespace CardRegisterCollection.Model
{
	/// <summary>
	/// car:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Car
	{
		public Car()
		{}
		#region Model
		private string _id;
		private string _batchno;
		private string _carnumber;
		private string _drivername;
		private string _driveridnumber;
		private string _telephone;
		private string _cartype;
		private string _carbrand;
		private string _carcode;
		private string _engineno;
		private string _useunit;
		private string _country;
        private string _remark;
		private string _remark2;
		private string _createdby;
		private DateTime? _createdat;
		private string _latestupdatedby;
		private DateTime? _lastupdatedat;
        private bool _deleteflag = false;
        /// <summary>
        /// 
        /// </summary>
        public string ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 批次号
		/// </summary>
		public string BatchNo
		{
			set{ _batchno=value;}
			get{return _batchno;}
		}
		/// <summary>
		/// 车牌号码
		/// </summary>
		public string CarNumber
		{
			set{ _carnumber=value;}
			get{return _carnumber;}
		}
		/// <summary>
		/// 驾驶员姓名
		/// </summary>
		public string DriverName
        {
			set{ _drivername = value;}
			get{return _drivername; }
		}
		/// <summary>
		/// 驾驶员有效证件号码
		/// </summary>
		public string DriverIDNumber
		{
			set{ _driveridnumber=value;}
			get{return _driveridnumber;}
		}
		/// <summary>
		/// 移动电话
		/// </summary>
		public string Telephone
		{
			set{ _telephone=value;}
			get{return _telephone;}
		}
		/// <summary>
		/// 车辆类型
		/// </summary>
		public string CarType
		{
			set{ _cartype=value;}
			get{return _cartype;}
		}
		/// <summary>
		/// 证件类型
		/// </summary>
        public string CardType
        {
            set { _cartype = value; }
            get { return _cartype; }
        }
        /// <summary>
        /// 车辆品牌
        /// </summary>
        public string CarBrand
		{
			set{ _carbrand=value;}
			get{return _carbrand;}
		}
		/// <summary>
		/// 车辆识别代码
		/// </summary>
		public string CarCode
		{
			set{ _carcode=value;}
			get{return _carcode;}
		}
		/// <summary>
		/// 车辆发动机号
		/// </summary>
		public string EngineNo
		{
			set{ _engineno=value;}
			get{return _engineno;}
		}
		/// <summary>
		/// 领证单位
		/// </summary>
		public string UseUnit
		{
			set{ _useunit=value;}
			get{return _useunit;}
		}
		/// <summary>
		/// 国家
		/// </summary>
		public string Country
		{
			set{ _country=value;}
			get{return _country;}
		}
		/// <summary>
		/// 备注一
		/// </summary>
		public string Remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 备注二（特种车辆：如大巴、考斯特、设备车等大型车辆）
		/// </summary>
		public string Remark2
		{
			set{ _remark2=value;}
			get{return _remark2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreatedBy
		{
			set{ _createdby=value;}
			get{return _createdby;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? CreatedAt
		{
			set{ _createdat=value;}
			get{return _createdat;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string LastUpdatedBy
		{
			set{ _latestupdatedby=value;}
			get{return _latestupdatedby;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? LastUpdatedAt
		{
			set{ _lastupdatedat=value;}
			get{return _lastupdatedat; }
		}

        public bool DeleteFlag
        {
            set { _deleteflag = value; }
            get { return _deleteflag; }
        }
        #endregion Model

    }
}

